const ajax = window.ajaxBusinessContract;

//客户列表
export const apiClientList = (params) => ajax.request(`/v1/basic/customer/customer/info/list`, 'post', params, {
  showLoading: true
});
//根据客户查合同
export const apiContractByClient = (params) => ajax.request(`/v1/projectFinance/bill/partnerContractList`, 'post', params, {
  showLoading: true
});

//资产编码的list
export const apiAssetCodeList = (param) => ajax.request(`/v1/business/contract/asset/list`, 'post', param, {
  showLoading: false
});
//资产列表
export const apiAssetList = (params) => ajax.request(`/v1/basic/rentCycle/cycle/list`, 'post', params, {
  showLoading: true
});

//预充值列表
export const rechargeList = (params) => ajax.request(`/v1/business/finance/account/recharge/list`, 'post', params, {
  showLoading: true
});

//录入表数
export const entryNumber = (params) => ajax.request(`/v1/business/finance/account/recharge/meter/read/create`, 'post', params, {
  showLoading: true
});

//预充值创建
export const rechargeCreate = (params) => ajax.request(`/v1/business/finance/account/recharge/create`, 'post', params, {
  showLoading: true
});

//预充值导出
export const rechargeExport = (params) => ajax.request(`/v1/business/finance/sale/recharge/list/export`, 'post', params, {
  showLoading: true
});